import request from "@/utils/common/request.js";

// 获取验证码
// export function getCodeImg(params) {
//   return request.get('/member/getCode', { params })
// }

export function getCode(data) {
  return request.post('/member/getCode', data)
}

// 登录方法
export function login(data) {
  return request.post('/member/login', data)
}

// 检查用户是否设置支付密码
export function checkPayPassword(data) {
  return request.post('/member/checkPayPassword', data)
}